import  time
now=time.localtime()
day_begin='%d-%02d-%02d'%(now.tm_year,now.tm_mon,now.tm_mday)
now_date= time.strptime(now, '%Y-%m-%d')
print(day_begin)